package com.qd.panda.mapper.park;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qd.panda.model.CarParkAppointmentSet;
import org.apache.ibatis.annotations.Param;

/**
 * 预约设置
 *
 * @author sjk
 */
public interface CarParkAppointmentSetMapper extends BaseMapper<CarParkAppointmentSet> {
    /**
     * 获得预约数量
     *
     * @param parkId 停车场ID
     * @return 预约数量
     */
    Integer appointmentNum(@Param("parkId") String parkId);
}